package com.yljk.mydoctor.entity;

import com.yljk.mydoctor.constants.MyDoctor;

public
class MineListBean implements Comparable<MineListBean> {

    /**
     * id : 1
     * images : 2131492908
     * pageName : Prescriptions
     * pluginId : HomeDoctorBundle
     * titles : 全部处方
     */

    private int id;
    private MyDoctor.ListType listType;
    private String images;
    private String pageName;
    private String pluginId;
    private String titles;
    private String description;
    private boolean isShowPoint;

    public MineListBean(int id,MyDoctor.ListType listType, String images,String titles,String description) {
        this.id = id;
        this.listType = listType;
        this.images = images;
        this.pageName = pageName;
        this.pluginId = pluginId;
        this.titles = titles;
        this.description = description;
    }

    public MyDoctor.ListType getListType() {
        return listType;
    }

    public void setListType(MyDoctor.ListType listType) {
        this.listType = listType;
    }

    public boolean isShowPoint() {
        return isShowPoint;
    }

    public void setShowPoint(boolean showPoint) {
        isShowPoint = showPoint;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getPluginId() {
        return pluginId;
    }

    public void setPluginId(String pluginId) {
        this.pluginId = pluginId;
    }

    public String getTitles() {
        return titles;
    }

    public void setTitles(String titles) {
        this.titles = titles;
    }

    @Override
    public int compareTo(MineListBean o) {
        return this.getId() - o.getId();
    }
}
